package util
{
	import flash.system.System;
	
	public class GCUtil
	{
		private static var count:int = 0;
		public function GCUtil()
		{
		}
		
		public static function runGc():void
		{
			count++;
			
			if( count > 5 )
			{
				System.gc();
				count = 0;
			}
		}

	}
}